<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>点我拿</title>
</head>
<style>
  body {
    margin: 0;
    padding: 0;
  }

  #app {
    width: 100%;
    min-height: 100vh;
    background: url('//static.xyb2b.com/images/52ff0a48a055cb7fa1173a94484d9aff.png') no-repeat;
    background-size: 100% auto;
    position: relative;
  }

  #login {
    position: absolute;
    top: 190px;
    left: 50%;
    transform: translateX(-50%);
    /* background-color: yellow; */
    width: 80vw;
    height: 182px;
  }

  #tel {
    position: absolute;
    right: 18px;
    top: 30px;
    height: 22px;
    width: 50vw;
    border: none;
    outline: none;
  }

  #code {
    position: absolute;
    right: 18px;
    top: 74px;
    height: 22px;
    outline: none;
    border: none;
    width: 50vw;
  }

  #btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 25px;
    border-radius: 18px;
    width: 38vw;
    height: 36px;
    /* background-color: yellow; */
  }
</style>

<body>
  <div id="app">
    <div id="login">
      <input type="tel" maxlength="11" id="tel">
      <input type="number" maxlength="6" id="code">
      <div id="btn"></div>
    </div>
  </div>
  <script>
    var btn = document.getElementById('btn');
    var tel = document.getElementById('tel');
    var code = document.getElementById('code');
    fetch('')
  </script>
</body>

</html>